package com.project.bean;

import java.time.LocalDate;
//学生实体类
public class StudentBean {
    //学生id
    private Integer stuId;
    //学生名字
    private String stuName;
    //学生性别
    private String stuGender;
    //入住时间  默认--当天
    private LocalDate stuInTime = LocalDate.now();
    //学生电话
    private String stuTel;
    //头像路径
    private String stuImg;
    //班级属性
    private ClassBean classBean;
    //房间属性
    private RoomBean roomBean;

    public StudentBean() {
    }



    public StudentBean(String stuName, String stuGender, String stuTel, String stuImg, ClassBean classBean, RoomBean roomBean) {
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuTel = stuTel;
        this.stuImg = stuImg;
        this.classBean = classBean;
        this.roomBean = roomBean;
    }



    public int getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String isStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public LocalDate getStuInTime() {
        return stuInTime;
    }

    public void setStuInTime(LocalDate stuInTime) {
        this.stuInTime = stuInTime;
    }

    public String getStuTel() {
        return stuTel;
    }

    public void setStuTel(String stuTel) {
        this.stuTel = stuTel;
    }

    public String getStuImg() {
        return stuImg;
    }

    public void setStuImg(String stuImg) {
        this.stuImg = stuImg;
    }

    public ClassBean getClassBean() {
        return classBean;
    }

    public void setClassBean(ClassBean classBean) {
        this.classBean = classBean;
    }

    public RoomBean getRoomBean() {
        return roomBean;
    }

    public void setRoomBean(RoomBean roomBean) {
        this.roomBean = roomBean;
    }

    @Override
    public String toString() {
        return "StudentBean{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuGender=" + stuGender +
                ", stuInTime=" + stuInTime +
                ", stuTel='" + stuTel + '\'' +
                ", stuImg='" + stuImg + '\'' +
                ", classBean=" + classBean +
                ", roomBean=" + roomBean +
                '}';
    }
}
